package ui;



import service.iml.ServiceLogicImp;

import java.util.Scanner;

public class Login {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        ServiceLogicImp serviceLogicImp = new ServiceLogicImp();
        System.out.println("------欢迎使用学生管理系统，请登录！------");

        System.out.println("用户名：");
        String admin = scanner.next();
        Boolean a = serviceLogicImp.checkAdminService(admin);
        if(a==false){
            System.out.println("该用户名不存在！");
        }

        System.out.println("密码：");
        Integer password = scanner.nextInt();
        Boolean b = serviceLogicImp.checkPssWordService(password);
        if(b==false){
            System.out.println("密码错误！");
        }

        System.out.println("验证码：");
        String c = scanner.next();

    }
}
